How Algolia normalizes your data - sometimes for the purpose of generalizing all languages, other times to handle language-specific complexities.
é
becomes e
, ø
becomes o
, で
becomes て
, etc.
Since, in several languages, this default behavior can cause problems, you can specify characters that will keep diacritics with the keepDiacriticsOnCharacters
parameter. Characters passed to this parameter aren’t normalized.
queryLanguages
setting.
For example, with queryLanguages
, you can specify Chinese (“zh”) in the first position to ensure the use of a Chinese dictionary in finding words.
Note that you can change the dictionary dynamically with each search, enabling multi-lingual support.